In this paper we present an end-to-end ROP payload generator which is a replication of a program created by Edward Schwartz, et. al. named \textit{Q} \cite{schwartz}.  In addition to this replication, we have extended our program to incorporate two new features, dynamic resolution of stack structures and the use of lib(c) gadgets.  We have titled our ROP payload generator \textit{R}\footnote{The name of our system stems from a joke made by James Bond in \textit{The World is Not Enough}. After an assistant to Q was introduced, James Bond inquires to Q, "If you're Q, does that make him R?"}.

